package cn.helios.config;

import cn.helios.domian.Store;
import cn.helios.ulit.Ajaxresult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "store-server", fallbackFactory = FeignLoggerFactory.class)
public interface ProductFeignClient {

    @PostMapping("/store")
    Ajaxresult add(@RequestBody Store store);

}
